import {VNode} from 'vue'
export type BsFormItemProps = {
  prop?: string
  label?: string
  labelWidth?: string | number
  required?: boolean
  rules?: any
  error?: string
  showMessage?: boolean
  inlineMessage?: boolean | string
  size?: '' | 'large' | 'default' | 'small'
  for?: string
  validateStatus?: '' | 'error' | 'validating' | 'success'
  /** label插槽 */
  labelNode?: () => VNode
  /** error插槽 */
  errorNode?: () => VNode
  /**内容区域 */
  contentOption?: {
    /**内容类型 */
    type?: string | ((...args:any) => string)
    /**类型组件绑定的属性 */
    bind?: () => any
    /**自定义节点 */
    customNode?: () => VNode
  }
}

export declare const ItemProps: BsFormItemProps
